<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.wanmait.hotelManagement.vo.Passenger"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%String path =request.getContextPath(); %>
<%
	Passenger loginUser = (Passenger)session.getAttribute("loginUser");
%>
<%
	if(loginUser==null){
		/* out.println("window.location.href='"+path+"/login/index.jsp'");
		out.println("return"); */
		response.sendRedirect(path+"/hotel/login/index.jsp");
		return;
	}
%>
<%
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
%>


<!DOCTYPE html>
<!-- saved from url=(0039)https://www.bthhotels.com/Member/MyInfo -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="baidu-site-verification" content="zEB8yeouu8">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">

    <title>我的信息</title>
    
    <meta name="description">
    <meta name="keywords">
    
        
    
    <!-- 开始 -->
	
	<script src="<%=path %>/hotel/js/jquery-3.5.1.min.js" type="text/javascript"></script>
	
	<script src="<%=path %>/hotel/layui.js"></script>
	<script type="text/ecmascript" src="<%=request.getContextPath()%>/hotel/login/js/MD5.js"></script>
	<!-- 结束 -->
    <script src="./我的信息_files/hm.js.下载"></script><script async="" src="./我的信息_files/analytics.js.下载"></script><script src="./我的信息_files/tingyun-rum.js.下载"></script>
    <link href="https://www.bthhotels.com/favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link href="./我的信息_files/reset.css" rel="stylesheet">
    <link href="./我的信息_files/iconfont.css" rel="stylesheet">
    <link href="./我的信息_files/public.css" rel="stylesheet">

    
    <link href="./我的信息_files/myhome.css" rel="stylesheet">
    <link href="./我的信息_files/myhome_ipad_kuan.css" rel="stylesheet">
	<link href="<%=path %>/hotel/layui/css/layui.css" rel="stylesheet">

    <!-- 开始 -->
    <script src="<%=path %>/hotel/js/jquery.js"></script>
	<script src="<%=path %>/hotel/js/popper.min.js"></script>
	<script src="<%=path %>/hotel/js/bootstrap.min.js"></script>
	<script src="<%=path %>/hotel/js/jquery-ui.js"></script>
	<script src="<%=path %>/hotel/js/jquery.fancybox.js"></script>
	<script src="<%=path %>/hotel/js/owl.js"></script>
	<script src="<%=path %>/hotel/js/scrollbar.js"></script>
	<script src="<%=path %>/hotel/js/appear.js"></script>
	<script src="<%=path %>/hotel/js/wow.js"></script>
	<script src="<%=path %>/hotel/js/custom-script.js"></script>
	<script src="<%=path %>/hotel/js/jquery-3.5.1.min.js" type="text/javascript"></script>
    
    <!-- 结束 -->
	
    <script src="./我的信息_files/respond.js.下载"></script>
    <script src="./我的信息_files/jquery-1.8.3.min.js.下载"></script>
    <script src="./我的信息_files/public.js.下载"></script>
    <script type="text/javascript" src="./我的信息_files/public_func.js.下载"></script>

    
    
    <script type="text/javascript" src="./我的信息_files/respond.js(1).下载"></script>
    <script type="text/javascript" src="./我的信息_files/public_h5.js.下载"></script>

    <script type="text/javascript" src="./我的信息_files/dialog.js.下载"></script>
    <script src="./我的信息_files/jquery.pagination.js.下载"></script>
    <script type="text/javascript" src="./我的信息_files/encodeString.js.下载"></script>
    <script type="text/javascript" src="./我的信息_files/myhome_H5.js.下载"></script>
    <script type="text/javascript" src="<%=path %>/hotel/layui/layui.js"></script>
    <script type="text/javascript">
  	function messageBox(mes){
  		layui.use('layer', function(){
  		  var layer = layui.layer;
  		  layer.msg(mes, {icon: 4});
  		});
  	}
  	
  	function checkUsePassl(){
  	  var l = $("#passd").val();
  	  var le = hex_md5(l);
  	  $("#b").val(le);
  	}
  </script>
    
    <style type="text/css">
    	.my_info_name{
    		width:120px;
    		padding: 0;
    		margin-right: 31px;
    	}
    	.my_info_edit a{
    		color:#fff!important;
    	}
    	.my_info_txt{
    		width:120px;
    		padding: 0;
    		margin-right: 31px;
    	}
    	.top_login_after{
    		margin-top: 25px;
    	}
    	.top_logo{
    		margin-top: 10px!important; 
    		height: 50px;
    	}
    	.logoo{
    		width:60%!important;
    	}
    	.top_login_list{
    		width:150px!important;
    		height: 56px!important;
    		
    	}
    	.top_login{
    		margin-top: 25px;
    	}
    	.top_login_xl dt a{
    		display:block;
    		position:absolute;
    		top:20px!important;
    	}
    	#test1{
    		width:175px;
    	}
    	#sub{
    		padding-left:0;
    		border:none;
    		background:none;
    		cursor:pointer;
    		outline:none;
    		color:#9e704d;
    	}
    	.my-head-emember img{
    		border:1px solid #ddd;
    	}
    	.my_info_button{
    		margin-top: 0;
    	}
    	#updPhonebtn1{
    		width:155px;
    		height: 43px;
    		border-radius: 5px;
    		color:#fff;
    		background-color: #C0191F;
    		font-size: 20px;
    		border: 1px solid #C0191F;
    	}
    </style>
    
    
    
    <script type="text/javascript">
        $(document).ready(function () {
            $("#name_change").click(function () {
                window.open('https://onlineservice.bthhotels.com/AliTalk/Talk?scene=SCE00000797&type=wap&source=pc');
            })
            //表单获取焦点
            $(":password").on("focus", function () {
                $(this).addClass('inputon')
            });

            $(":password").on("blur", function () {
                $(this).removeClass('inputon');
            });


            //修改手机号验证
            

            //点击获取手机验证码时验证手机号
            var winForm1 = new FormValidation($("#my_phone_tk1"), $("#my_phone_tk1 .information_phone"));
            winForm1.registeFunc(function () {
                return winForm1.setInput($("#my_phone_tk1 input[name='inputPwd']")).Regx("notNull");
            });
            winForm1.registeFunc(function () {
                return winForm1.setInput($("#my_phone_tk1 input[name='inputPhone']")).Regx("telNum");
            });
            var timer;
            $("#my_phone_tk1 .information_phone").click(function () {
                if (!winForm1.validate()) {
                    return;
                }


                $.post('/member/myinfo_sendmsg', { mobile: $("#oldmobile").text() },
                function (result) {
                    if (result != null) {

                        //alert(result.msg);

                    }
                });
                clearInterval(timer);
                //$(this).hide();
                var num = $("#my_phone_tk1 .yz_number code");
                //$("#my_phone_tk1 .yz_number").show();
                num.text(59);
                timer = setInterval(function () {
                    var time = parseInt(num.text());
                    if (time >= 0) {
                        time--;
                        if (time > 0) {
                            num.text(time);
                            $(" #my_phone_tk1 .information_phone").addClass("inputDisable");
                            $(" #my_phone_tk1 .information_phone").attr("disabled", true);
                            $(" #my_phone_tk1 .information_phone").val(time+'秒后重新发送');
                        } else {
                            clearInterval(timer);
                            $(" #my_phone_tk1 .information_phone").removeClass("inputDisable");
                            $(" #my_phone_tk1 .information_phone").attr("disabled", false)
                            $(" #my_phone_tk1 .information_phone").val( '点击获取验证码');
                            //$("#my_phone_tk1 .yz_number").hide();
                            //$(" #my_phone_tk1 .information_phone").show();
                        }
                    } else {
                        clearInterval(timer);
                        //$("#my_phone_tk1 .yz_number").hide();
                        //$("#my_phone_tk1 .information_phone").show();
                    }
                }, 1000);
            });
            //修改手机号获取验证码结束

            
            

            //修改邮箱  开始
            //修改邮箱
            

            //点击获取邮箱验证码
            var winForm2 = new FormValidation($("#my_info_tk1"), $("#my_info_tk1 #btn_emailCode"));
            winForm2.registeFunc(function () {
                return winForm2.setInput($("#my_info_tk1 input[name='inputPwd']")).Regx("notNull");
            });
            winForm2.registeFunc(function () {
                return winForm2.setInput($("#my_info_tk1 input[name='inputMail']")).Regx("mail");
            });
            $("#my_info_tk1 #btn_emailCode").click(function () {
                if (!winForm2.validate()) {
                    return;
                }

                $.post('/member/MyInfo_SendEmailMsg', { email: $("input[name='inputMail']").val() },
                function (result) {
                    if (result != null) {
                        //$("#SendemailCode").hide();
                        //$("#SendemailMsg").show();
                        $("#btn_emailCode").addClass("click_status");
                        $("#btn_emailCode").attr("disabled", true);
                        $("#btn_emailCode").val("60秒后重新发送");
                        time_change = setInterval("Countdown()", 1000);
                        $("#errorMsg").hide();
                        $(".up_wrongyzm").hide();
                        //alert(result.msg);
                    }
                });

            });

            //修改邮箱  结束


            $("#my_info_failcardno .my_info_buttonL").click(function () {
                $("#my_info_card").show();
                $("#my_info_failcardno").hide();
            })


            //修改证件号码
            //var winForm8 = new FormValidation($("#my_info_card"), $("#my_info_card #btnmodifyCardNo"));
            //winForm8.registeFunc(function () {
            //    return winForm8.setInput($("#my_info_card input[name='inputPwd']")).Regx("notNull");
            //});

            
            var idReg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
                emailReg =/^(\w)+(\.\w+)*@(\w)+((\.\w{2,3}){1,3})$/,
                telReg = /^1[34578]\d{9}$/;

            //证件号码弹窗确定
            $("#btnmodifyCardNo").click(function () {
                var popName = $(this).parents("#my_info_card");
                if ($("input[name='inputPwd']", popName).val() == "" || !idReg.test($("input[name='inputNewCardNo']", popName).val())) {
                    if ($("input[name='inputPwd']", popName).val() == "") {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    else {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                    if (!idReg.test($("input[name='inputNewCardNo']", popName).val())) {
                        $("input[name='inputNewCardNo']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    else {
                        $("input[name='inputNewCardNo']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                }
                else {
                    $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    $("input[name='inputNewCardNo']", popName).css({ borderColor: "#bcbcbc" }).next().hide();

                    $.ajax({
                        type: "POST",
                        url: '/Member/myinfoupdateCert',
                        data: { cartType: "ID", cartno: $("#my_info_card input[name='inputNewCardNo']").val(), pwd: $("#my_info_card input[name='inputPwd']").val() },
                        cache: false,
                        dsync: false,
                        dataType: "json",

                        success: function (data) {
                            if (data.status == 0) {
                                $("#my_info_card").hide();
                                $("#my_info_successcardno").show();

                                $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                                $("input[name='inputNewCardNo']", popName).css({ borderColor: "#bcbcbc" }).next().hide();


                                var certNo = $("#my_info_card input[name='inputNewCardNo']").val();
                                if (certNo.length > 12) {
                                    $("#oldcardNo").text(certNo.substring(0, 12) + "****");
                                }
                                else if (certNo.length > 4) {
                                    $("#oldcardNo").text(certNo.substring(0, certNo.length - 4) + "****");
                                }
                                else {
                                    $("#oldcardNo").text("****");
                                }
                            }

                            else {
                                $("#my_info_card").hide();
                                $("#my_info_failcardno").show();
                                return;
                            }
                        }
                    });

                }

            });
            
            
            //手机号码弹窗确定
            $("#updPhonebtn").click(function () {
                var popName = $(this).parents("#my_phone_tk1");
                if ($("input[name='inputPwd']", popName).val() == "" || !telReg.test($("input[name='inputPhone']", popName).val()) || $("input[name='inputCode']", popName).val() == "") {
                    if ($("input[name='inputPwd']", popName).val() == "") {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    else {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                    if (!telReg.test($("input[name='inputPhone']", popName).val())) {
                        $("input[name='inputPhone']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    else {
                        $("input[name='inputPhone']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                    if ($("input[name='inputCode']", popName).val() == "") {
                        $("input[name='inputCode']", popName).css({ borderColor: "#c0191f" }).siblings(".info-error").show();
                    }
                    else {
                        $("input[name='inputCode']", popName).css({ borderColor: "#bcbcbc" }).siblings(".info-error").hide();
                    }
                }
                else {
                    $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    $("input[name='inputPhone']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    $("input[name='inputCode']", popName).css({ borderColor: "#bcbcbc" }).siblings(".info-error").hide();


                    $.ajax({
                        type: "POST",
                        url: '/Member/myinfoupdatemobile',
                        data: { oldmobile: $("#oldmobile").html(), mobile: $("#my_phone_tk1 input[name='inputPhone']").val(), password: $("#my_phone_tk1 input[name='inputPwd']").val(), vercode: $("#my_phone_tk1 input[name='inputCode']").val() },
                        cache: false,
                        dsync: false,
                        dataType: "json",

                        success: function (data) {
                            if (data.status == 0) {
                                $("#my_phone_tk1").hide();
                                $("#my_phone_successtk").show();
                                $("#oldmobile").html($("#my_phone_tk1 input[name='inputPhone']").val());
                            }
                            else {
                                alert(data.msg);
                                //$('.info-error').html(result.msg);
                                //$('.info-error').css('display','inline-block');

                            }
                        }
                    });
                }
            });
            
            //电子邮箱弹窗确定
            $("#btnmodifyEmail").click(function () {
                var popName = $(this).parents("#my_info_tk1");
                if ($("input[name='inputPwd']", popName).val() == "" || !emailReg.test($("input[name='inputMail']", popName).val()) || $("input[name='inputCode']", popName).val() == "") {
                    if ($("input[name='inputPwd']", popName).val() == "") {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    
                    else {
                        $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                    if (!emailReg.test($("input[name='inputMail']", popName).val())) {
                        $("input[name='inputMail']", popName).css({ borderColor: "#c0191f" }).next().show();
                    }
                    
                    else {
                        $("input[name='inputMail']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    }
                    
                    if ($("input[name='inputCode']", popName).val() == "") {
                        $("input[name='inputCode']", popName).css({ borderColor: "#c0191f" }).parents(".my_info_tablefix").find(".mail_code_erro").show();
                    }
                    else {
                        $("input[name='inputCode']", popName).css({ borderColor: "#bcbcbc" }).parents(".my_info_tablefix").find(".mail_code_erro").hide();
                    }
                }
                
                else {
                    $("input[name='inputPwd']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    $("input[name='inputMail']", popName).css({ borderColor: "#bcbcbc" }).next().hide();
                    $("input[name='inputCode']", popName).css({ borderColor: "#bcbcbc" }).parents(".my_info_tablefix").find(".mail_code_erro").hide();
                   
                    
                    
                    $.ajax({
                        type: "POST",
                        url: '/Member/MyInfoUpdateEmail',
                        data: { email: $("#my_info_tk1 input[name='inputMail']").val(), vCode: $("#my_info_tk1 input[name='inputCode']").val(), pwd: $("#my_info_tk1 input[name='inputPwd']").val() },
                        cache: false,
                        dsync: false,
                        dataType: "json",

                        success: function (data) {
                            if (data != null) {

                                if (data.status == 0) {
                                    $("#my_info_tk1").hide();
                                    $("#my_info_successtk").show();
                                    $("#old_Email").html($("#my_info_tk1 input[name='inputMail']").val());
                                }
                                else if (data.status == 2) {
                                    //$("#my_info_tk1 input[name='inputPwd']").parent().children("span").show();
                                    $(".loginPassword").show();
                                    $(".mail_code_erro").hide();
                                    return;
                                }
                                else if (data.status == 3) {
                                    $("#my_info_tk1 input[name='inputCode']").parent().children(".errTip").show();
                                    $(".mail_code_erro").show();
                                    $(".loginPassword").hide();
                                    return;
                                }
                                else {
                                    $(".loginPassword").hide();
                                    $(".mail_code_erro").show();
                                    return;
                                }
                            }
                        }
                    });
                }
            });
            
            //点击编辑信息按钮
            $(".my_info_edit a").click(function () {

                $("#sex_div").hide();
                $("#sex_divedit").show();
                $("#address_div").hide();
                $("#address_divedit").show();
                $("#postcode_div").hide();
                $("#postcode_divedit").show();
                $(".my_info_edit").hide();
                $("#btnsaveInfo").show();
            })

            
            
            //修改用户信息
            var winForm4 = new FormValidation($(".my_info_box"), $(".my_info_box #btnsaveInfo"));
            winForm4.registeFunc(function () {
                return winForm4.setInput($("#input_address")).Regx("notNull");
            });
            winForm4.registeFunc(function () {
                return winForm4.setInput($("#input_postcode")).Regx("6Number");
            });
            winForm4.subBtn.click(function () {
                if (winForm4.validate()) {
                    var sex_var = $(".my_info_sex").find(".sexon").attr("value");
                    if (sex_var == null || sex_var == "") {
                        sex_var = "男";
                    }
                    var data = { sex: sex_var, address: $('#input_address').val(), postcode: $('#input_postcode').val() };
                    $.post("/member/myinfoupdate", data,
                    function (result) {
                        if (result.status == 0) {
                            $("#sex_div").html(sex_var);
                            $("#address_div").html($('#input_address').val());
                            $("#postcode_div").html($('#input_postcode').val());
                            modifyuserInfo();
                        } else {
                            alert(result.msg);
                            modifyuserInfo();
                            $(".popWin").hide();
                            $("#popFailNo, #mask").show();
                        }
                    });
                };
            });



            //修改密码
            var winForm = new FormValidation($("#my_info_password"), $("#my_info_password .my_info_buttonL"));
            winForm.registeFunc(function () {
                return winForm.setInput($("input[name='oldpwd']")).Regx("notNull");
            });
            winForm.registeFunc(function () {
                return winForm.setInput($("input[name='newpwd']")).Regx("notNull");
            });
            winForm.registeFunc(function () {
                return winForm.setInput($("input[name='REnewpwd']")).Regx("notNull") && winForm.setInput($("input[name='REnewpwd']")).CompareTo($("input[name='newpwd']"));
            });
            winForm.subBtn.click(function () {
                var re_pwd = /^[\x21-\x7e]{6,20}$/;
                var newpwd=$("input[name='newpwd']").val();
                var REnewpwd=$("input[name='REnewpwd']").val();
                if (!re_pwd.test(newpwd))
                {
                    $("input[name='newpwd']").siblings(".info-error").text("密码格式不符合要求");
                    $("input[name='newpwd']").siblings(".info-error").css("display", "inline");
                    return false;
                }
                if (!re_pwd.test(REnewpwd)) {
                    $("input[name='REnewpwd']").siblings(".info-error").text("密码格式不符合要求");
                    $("input[name='REnewpwd']").siblings(".info-error").css("display", "inline");
                    return false;
                }
                if (winForm.validate()) {
                    $.post('/member/ModifyPass', { "oldpwd": getEncodeString($("#frm input[name='oldpwd']").val()), "newpwd": getEncodeString($("#frm input[name='newpwd']").val())} ,
                    function (result) {
                        if (result.status != '0') {
                            alert(result.msg)
                        } else {
                            alert(result.msg)
                            $('.my_info_bg,.popup').hide();
                            window.location.href = "/member/myinfo";
                        }
                    });
                }
            });



        });
        function modifyuserInfo() {
            $("#sex_div").show();
            $("#sex_divedit").hide();
            $("#address_div").show();
            $("#address_divedit").hide();
            $("#postcode_div").show();
            $("#postcode_divedit").hide();
            $(".my_info_edit").show();
            $("#btnsaveInfo").hide();
        }
        function Countdown() {
            var time_val = $("#btn_emailCode").val().substring(0, $("#btn_emailCode").val().indexOf('秒'))

            if (time_val == 1) {
                clearInterval(time_change);
                $("#btn_emailCode").val("点击获取验证码");
                $("#btn_emailCode").removeClass("click_status");
                $("#btn_emailCode").attr("disabled", false);
            } else {
                time_val = time_val - 1;
                $("#btn_emailCode").val(time_val + '秒后重新发送');
            }
        }
    </script>


    <script language="javascript" type="text/javascript">

        //CharMode函数
        //测试某个字符是属于哪一类.
        function CharMode(iN) {
            if (iN >= 48 && iN <= 57) //数字
                return 1;
            if (iN >= 65 && iN <= 90) //大写字母
                return 2;
            if (iN >= 97 && iN <= 122) //小写
                return 4;
            else
                return 8; //特殊字符
        }
        //bitTotal函数
        //计算出当前密码当中一共有多少种模式
        function bitTotal(num) {
            modes = 0;
            for (i = 0; i < 4; i++) {
                if (num & 1) modes++;
                num >>>= 1;
            }
            return modes;
        }
        //eckStrong函数
        //返回密码的强度级别
        function checkStrong(sPW) {
            if (sPW.length <= 4)
                return 0; //密码太短
            Modes = 0;
            for (i = 0; i < sPW.length; i++) {
                //测试每一个字符的类别并统计一共有多少种模式.
                Modes |= CharMode(sPW.charCodeAt(i));
            }
            return bitTotal(Modes);
        }
        //pwStrength函数
        //当用户放开键盘或密码输入框失去焦点时,根据不同的级别显示不同的颜色
        function pwStrength(pwd) {
            O_color = "#d4d4d4";
            L_color = "#C0191F";
            M_color = "#FFDA00";
            H_color = "#53B300";
            if (pwd == null || pwd == '') {
                Lcolor = Mcolor = Hcolor = O_color;
            }
            else {
                S_level = checkStrong(pwd);
                //alert(S_level);
                switch (S_level) {
                    case 0:
                        Lcolor = Mcolor = Hcolor = O_color;
                    case 1:
                        Lcolor = L_color;
                        Mcolor = Hcolor = O_color;
                        break;
                    case 2:
                        Lcolor = Mcolor = M_color;
                        Hcolor = O_color;
                        break;
                    default:
                        Lcolor = Mcolor = Hcolor = H_color;
                }
            }
            document.getElementById("strength_L").style.background = Lcolor;
            document.getElementById("strength_M").style.background = Mcolor;
            document.getElementById("strength_H").style.background = Hcolor;
            return;
        }
    </script>




</head>
<body class="focus" style="font-family: Arial, &quot;Microsoft YaHei&quot;, 黑体, 宋体, sansSerif;">
    
    
    
     
    <div class="main_pc">
    	
	 	<div class="top">
    	<div class="main_w1200 top_nav">
        <a href="https://www.bthhotels.com/" class="top_logo">
            <!-- <div class="brands_logo"></div>
            <img src="./我的信息_files/logo.jpg" width="121" height="75"> -->
        	<img class="logoo" src="<%=path %>/hotel/images/logo.png" alt="Hotera  -  Hotel  and  Restaurant  HTML  Template"  title="Hotera  -  Hotel  and  Restaurant  HTML  Template">
        </a>
        <ul class="nav">
            <li id="yuding">
                <a href="<%=path %>/IndexServlet">首页</a>
                <!-- <div class="nav_con">
                    <a href="https://www.bthhotels.com/map/">地图预订</a>
                    <a rel="nofollow" href="http://www.douhaogongyu.com/">公寓预订</a>
                    
                    
                </div> -->
            </li>
            <li id="giantGuest"><a href="<%=path%>/RoomServlet">客房和套房</a></li>
            <li id="cuxiao"><a href="<%=path%>/HistoryServlet">关于我们</a></li>
            <li id="jiabinhui">
                <a href="<%=path%>/ActivityServlet">服务</a>
                <!-- <div class="nav_con">
                    <a href="https://www.bthhotels.com/Member/MemberManual">会员手册</a>
                    <a href="https://www.bthhotels.com/Member/MemberNotice">会员公告</a>
                    <a href="https://login.bthhotels.com/onlinecard/purchase" target="_blank">会员购卡</a>
                </div> -->
            </li>
            <li id="jifenshangcheng"><a href="<%=path%>/MealsServlet">餐厅</a></li>
            
            <li id="about">
                <a href="<%=path%>/hotel/contact/contact.jsp">
                    	建议
                </a>
                <!-- <div class="nav_con">
                    <a href="https://www.bthhotels.com/Event">大事记</a>
                    <a href="https://www.bthhotels.com/About">品牌介绍</a>
                    <a href="https://www.bthhotels.com/News">集团快讯</a>
                    <a href="https://www.bthhotels.com/Recruit">招贤纳士</a>
				</div> -->
            </li>
        </ul>
        <!-- <div class="right_icon">
                <a href="https://www.bthhotels.com/en" class="hover_icon english" title="">
                    English
                </a>
            <a href="javascript:;" onclick="location.href=&#39;https://onlineservice.bthhotels.com/AliTalk/Talk?scene=SCE00000797&amp;type=web&amp;source=pc&#39;" target="_blank" class="hover_icon Customer_service">
                
                <span></span>
                <code>在线客服</code>
            </a>
            
            <div class="app_head_box">
                <code></code>
                <dl>
                    <dt><img src="./我的信息_files/app_ewm_new.jpg"></dt>
                    <dd>下载APP尊享超值礼包</dd>
                    <a href="https://www.bthhotels.com/App/index">立即下载</a>
                </dl>
            </div>

        </div> -->
        
        		
					
        		<%
                if(loginUser==null){
                %>
                	
                	<div class="top_login">
				        <div class="top_login_txt fl">
				            <span class="icon iconfont login_icon"></span>
				            <a class="login_txt" href="javascript:void(0);">会员登录</a>
				            <code>|</code>
				            <dl class="top_login_xl">
				                <dt><a href="<%=path%>/hotel/login/index.jsp">登录</a></dt>
				                
				            </dl>
				        </div>
				        <a href="<%=path %>/hotel/login/zhuce1.jsp" class="login_line fl">注册</a>
				    </div>

                    <!-- <div class="link-box">

                        <a href="room-single.html" class="theme-btn btn-style-one"><span class="btn-title">Book Your Stay</span></a>

                    </div> -->

                </div>
                <%	
                }else{
                	
                %>
                	
                	<div class="top_login_after top_la">
			        <div class="top_login_box fl">
			            <span class="icon iconfont login_icon"></span>
			            <a href="javascript:void(0);" class="login_txt"><%=loginUser.getName() %></a>
			            <code>|</code>
			            <div class="top_login_list">
			                <a href="<%=path%>/OrderServlet">
			                    	我的订单
                   			</a>
                <!-- <a href="https://www.bthhotels.com/Member/Score">我的积分<span><b>0</b>分</span></a>
                <a href="https://www.bthhotels.com/Member/PetCard">如旅钱包<span>查询</span></a>
                <a href="https://www.bthhotels.com/Member/GiftCards">如旅钱包礼品卡<span></span></a>
                <a href="https://www.bthhotels.com/Member/DigitalCoupon">我的券<span><b>0</b>张</span></a> -->
                <a href="../myinfo/myinfo.jsp">个人中心</a>
                <!-- <a href="https://www.bthhotels.com/Member/FavoritesLinkman">常用信息</a> -->
            </div>
        </div>
        <a href="<%=path %>/LoginServlet?action=exit" class="login_line login_quit fl">退出</a>
    </div>
                	<%-- <div class="info">

                        <ul class="clearfix">
                        	<li><a href="#"><span class="icon flaticon-padlock"></span><span class="txt"><img src="<%=path %>/hotel/images/<%=loginUser.getUsername() %>"/></span></a></li>

                            <li><a href="#"><span class="icon flaticon-padlock"></span><span class="txt"><%=loginUser.getUsername() %></span></a></li>

                            <li><a href="#"><span id="icon" class="iconfont icon-zhuce"></span><span class="txt">个人中心</span></a></li>

                        	<li><a href="#"><span id="icon" class="iconfont icon-zhuce"></span><span class="txt">退出</span></a></li>
                        </ul>

                    </div> --%>
                <%	
                }
                %>
        
        
      
    <%-- <div class="top_login_after">
        <div class="top_login_box fl">
            <span class="icon iconfont login_icon"></span>
            <a href="https://www.bthhotels.com/Member/" class="login_txt">jiangyizhouz</a>
            <code>|</code>
            <div class="top_login_list">
                <a href="<%=path%>/hotel/userCenter/order/order.jsp">
                    	我的订单
                </a>
                <!-- <a href="https://www.bthhotels.com/Member/Score">我的积分<span><b>0</b>分</span></a>
                <a href="https://www.bthhotels.com/Member/PetCard">如旅钱包<span>查询</span></a>
                <a href="https://www.bthhotels.com/Member/GiftCards">如旅钱包礼品卡<span></span></a>
                <a href="https://www.bthhotels.com/Member/DigitalCoupon">我的券<span><b>0</b>张</span></a> -->
                <a href="<%=path%>/hotel/userCenter/myinfo/myinfo.jsp">个人中心</a>
                <!-- <a href="https://www.bthhotels.com/Member/FavoritesLinkman">常用信息</a> -->
            </div>
        </div>
        <a href="https://www.bthhotels.com/home/logout?url=/Member/MyInfo" class="login_line login_quit fl">退出</a>
    </div> --%>
<div class="clear"></div>
    </div>
</div>
        




<div class="main_pc">
    
<div class="main_w1200">
    <div class="list_location">
        当前位置：
        <a href="">首页</a>/
        <a href="javascript:void(0);">我的家宾会</a>
            <span>/</span>
        <a class="breadon" href="../myinfo/myinfo.jsp">我的信息</a>
    </div>
</div>

    <div class="main_w1200 w1999">
        <div class="rj_main fix">
            <div class="rj_public_L fl">
    <h1><a href="JavaScript:void(0);">我的家宾会</a></h1>
    <dl>
        <dt>订单中心<code class="icon iconfont"></code></dt>
        <dd><a href="<%=path%>/OrderServlet">酒店订单</a></dd>
    </dl>
    <!-- <dl>
        <dt>我的账户<code class="icon iconfont"></code></dt>
        <dd><a href="https://www.bthhotels.com/Member/score">我的积分</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/petcard">如旅钱包</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/GiftCards">如旅钱包礼品卡</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/CarbonScore">我的碳积分</a></dd>
    </dl>
    <dl>
        <dt>我的券<code class="icon iconfont"></code></dt>
        <dd><a href="https://www.bthhotels.com/Member/digitalcoupon">酒店优惠券</a></dd>
        
    </dl> -->
    <dl>
        <dt>个人中心<code class="icon iconfont"></code></dt>
        <dd><a href="../myinfo/myinfo.jsp" class="ddon">我的信息</a></dd>
        
        
        <!-- <dd><a href="https://www.bthhotels.com/Member/ordertoComment">我的点评</a></dd> -->
    </dl>
    <!-- <dl>
        <dt>常用信息<code class="icon iconfont"></code></dt>
        <dd><a href="https://www.bthhotels.com/Member/FavoritesLinkman">常用入住人</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/FavoritesHotel">收藏酒店</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/Invoice">发票管理</a></dd>
        <dd><a href="https://www.bthhotels.com/Member/commonaddress">常用地址</a></dd>
    </dl>   -->
   
</div>
			<!-- 修改密码 -->
			<script type="text/javascript">
        	$(function(){
        		$(".btn").click(checks);//表单验证修改密码和ajax修改密码
        	})
        	
        	//表单验证修改密码和ajax修改密码
        	function checks(){
        		var ops = $(".ops").val();
        		var nps = $(".nps").val();
        		var nnps = $(".nnps").val();
        		var reg = /^\w{6,15}$/;
        		var flag = true;
        		if(ops!="<%=loginUser.getUserpass()%>"){
        			messageBox("原密码输入有误");
        			flag = false;
        		}else if(nps==ops){
        			messageBox("新密码不能与原密码相同");
        			flag = false;
        		}else if(!reg.test(nps)){
        			messageBox("密码不能含有非法字符且必须6-15位");
        			flag = false;
        		}else if(nnps!=nps){
        			messageBox("新密码输入不一致");
        			flag = false;
        		}else{
        			$.ajax({
        				url:"<%=path%>/UserinfoServlet",
        				data:{action:"changePassword",nps:nps},
        				type:"post",
        				success:function(mes){
        					messageBox("密码修改成功!");
        					$(".ops").val("");
        	        		$(".nps").val("");
        	        		$(".nnps").val("");
        				}
        			})
        		}
        		return flag;
        	}
        </script>

            <div class="rj_public_R fr">
                <div class="my_info_box">
                    <div class="my_info_top fix">
                        <div class="my_info_topL fl">

                            <div class="my-head-emember">
                                <img class="imgs" style="width:80px;height:80px;border-radius: 50%" src="<%=path %>/hotel/images/faceImages/<%=loginUser.getFaceImage()%>">
                            </div>
                            
                            <ul>
                                <li><%=loginUser.getName() %></li>
                                <li><span class="level e-bg-color">会员</span></li>

                            </ul>
                        </div>
                        <div class="my_info_topC fl">
                            <p>请完善您的个人信息，以便获得更好的服务。</p>
                            <p>妥善保管您的登录密码，以保障您的账户安全。</p>
                        </div>
                        <div class="my_info_topR fl">
                            <a id="password_change">修改密码</a>
                        </div>
                        <div class="popup" style="height: 1261px; display: none;"></div>
						<script type="text/javascript">
							//修改头像
							$(function(){
								$("#sub").click(function(){
									$.ajax({
										url:"<%=path%>/UserinfoServlet",
										type:"post",
										data:"action=getFaceImage",
										acync:false,
										success:function(mes){
											$(".imgs").attr("src","<%=path%>/hotel/images/faceImages/"+mes); 
										}
									})
									
								})
							})
							$(function(){
                        		$("#myform1").submit(changeImage);
                        	})
                        	function changeImage(){
								var val = $("#test1").val();
								var flag;
                    			if(val==""){
                    				flag = false;
                    				messageBox("没有选择头像");
                    				$(".change").html("");
                    			}else{
                    				flag = true;
                    			}
                    			
                    			return flag;
                        	}
						</script>

                        <div class="my_info_bg" id="my_info_password" style="display: none;">
<form action="" id="frm" method="post">                                <h4 style="padding-bottom:5px;">
                                    <code class="iconfont password_icon"></code>密码修改
                                </h4>
                                <div class="my_info_table">
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">当前密码</div>
                                            <div class="my_info_data fl">
                                                <div class="my_input_data">
                                                    <input class="my_input_password ops" value="" name="oldpwd" type="password">
                                                    <div class="resetPwd-r info-error" style="display: none;">密码错误</div>
                                                </div>
                                            </div>
                                        </ul>
                                    </div>
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">新密码</div>
                                            <div class="my_info_data fl">
                                                <div class="my_input_data">
                                                    <input class="my_input_password nps" value="" name="newpwd" maxlength="20" onkeyup="pwStrength(this.value)" onblur="pwStrength(this.value)" type="password">
                                                    <div class="resetPwd-r info-error" style="display: none;">密码格式错误</div>
                                                </div>
                                            </div>
                                            <div class="my_password_warn fl">
                                                6-20位字符，可使用字母、数字、
                                                下划线的组合，不能含空格
                                            </div>
                                        </ul>
                                        <p style="padding-left:90px;">
                                            <span id="strength_L" style="height:11px; text-align: center;margin-top:10px; width: 72px; float: left; background: #d4d4d4;border-radius:5px 0 0 5px"></span>
                                            <span id="strength_M" style="height:11px; text-align: center;margin:10px 0 0 1px; width: 72px;  float: left;  background: #d4d4d4;"></span>
                                            <span id="strength_H" style="height:11px; text-align: center;margin:10px 0 0 1px; width: 72px; float: left; background: #d4d4d4;border-radius:0 5px 5px 0"></span>
                                        </p>

                                    </div>

                                    <div style="height: 25px;  padding-left: 120px;">

                                        <span style="display:inline-block;width:72px;font-size:13px">弱</span>
                                        <span style="display:inline-block;width:72px;font-size:13px">中</span>
                                        <span style="display:inline-block;width:72px;font-size:13px">强</span>

                                    </div>
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">确认新密码</div>
                                            <div class="my_info_data fl">
                                                <div class="my_input_data">
                                                    <input class="my_input_password nnps" value="" name="REnewpwd" type="password" maxlength="20">
                                                    <div class="resetPwd-r info-error" style="display: none;">两次密码不一致</div>
                                                </div>
                                            </div>
                                        </ul>
                                    </div>
                                    <div class="my_info_button m39">
                                        <a class="my_info_buttonL btn">确定</a>
                                        
                                        <a class="my_info_buttonR">取消</a>
                                    </div>
                                </div>
                                
                                </form>                        
                                </div>

                    </div>
                    <div class="my_info_center">
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">用户名：</div>
                            <div class="my_info_nr fl"><span id="info_name"><%=loginUser.getUsername() %></span></div>
                        </ul>
                        <!-- <ul class="my_info_fix fix">
                            <div class="my_info_name fl">证件类型：</div>
                            <div class="my_info_nr fl">简易会员</div>
                        </ul> -->
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">证件号码：</div>
                            <div class="my_info_nr fl">
                                <span id="oldcardNo"><%=loginUser.getIdCards() %></span>
                                   <!--  <code id="cardno_change">修改</code> -->
                                <input type="hidden" name="newcartType" value="JY">
                            </div>
                        </ul>
                        	<!-- 修改证件号码 -->
                        	
                        <div class="my_info_bg" id="my_info_card" style="height: 492px; margin-top: -246px; display: none;">
                            <h4>
                                <code class="iconfont"></code>修改证件号码
                            </h4>
                            <div class="my_info_table">
                                <div class="my_info_form">
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">原证件号码</div>
                                            <div class="my_info_data fl"><%=loginUser.getIdCards() %></div>


                                        </ul>
                                    </div>
                                    <div class="my_info_tablefix mb10">
                                        <ul>
                                            <div class="my_info_txt fl">登录密码</div>
                                            <div class="my_info_data fl">
                                                <div class="my_info_data_N">
                                                    <input id="inputPwd1" class="redon" value="" type="password" name="inputPwd1">
                                                    <span class="my_info_warn info-error " style="font-weight:normal;color:#C0191F;line-height:32px;font-size:13px;">登录密码输入错误</span>

                                                </div>
                                            </div>

                                        </ul>
                                        <p class="my_wrong_tip" style="color:#979797">为了确保您账户的信息安全请先输入会员登录密码</p>
                                    </div>
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">证件类型</div>
                                            <div class="my_info_data fl">
                                                <span class="simulate_text">
                                                    <em>身份证</em>
                                                    <code class="iconfont"></code>
                                                </span>
                                                <select class="id_select"><option>身份证</option></select>
                                            </div>
                                        </ul>
                                    </div>
                                    <div class="my_info_tablefix">
                                        <ul>
                                            <div class="my_info_txt fl">新证件号码</div>
                                            <div class="my_info_data fl">
                                                <div class="my_input_data">
                                                	<form>
                                                		<input value="" name="inputNewCardNo" id="idCard">
                                                	</form>
                                                    <span class="my_info_warn info-error " style="color:#C0191F;line-height:32px;font-size:13px;">请输入合法证件号码</span>

                                                </div>
                                            </div>

                                        </ul>

                                    </div>
                                </div>



                                <div class="my_info_button">
                                    <a class="my_info_buttonL" id="btnmodifyCardNo">确定</a>
                                    <a class="my_info_buttonR">取消</a>
                                </div>
                            </div>
                        </div>
                        <div class="my_info_bg" id="my_info_failcardno" style="display: none;">
                            <h4>
                                <code class="iconfont"></code>修改证件号码
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont fail_icon"></code></p>
                                <p class="my_info_failtxt">证件号码修改失败</p>
                                <div class="my_info_button"><a class="my_info_buttonL">重新修改</a><a class="my_info_buttonR">取消</a></div>
                            </div>
                        </div>
                        <div class="my_info_bg" id="my_info_successcardno" style="display: none;">
                            <h4>
                                <code class="iconfont success_icon"></code>修改证件号码
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont success_icon"></code></p>
                                <p class="my_info_failtxt">证件号码修改成功</p>
                                <div class="my_info_button"><a class="my_info_buttonR" style="border: 1px solid #C0191F;    background: #C0191F;    color: #fff;">关闭</a></div>
                            </div>
                        </div>
						<script type="text/javascript">
	                        	$(function(){
	                        		$("#inputPwd2").blur(test);
	                        		$("#inputPhone").blur(checkTele);
	                        		$("#myForm1").submit(check);
	                        	})
	                        	//验证密码
                        		function test(){
                        			var inputPwd = $("#inputPwd2").val();
                        			var flag;
                        			$.ajax({
                        				url:"<%=path%>/UserinfoServlet",
                        				type:"post",
                        				async:false,
                        				data:{action:"getPassword",ops:inputPwd},
                        				success:function(mes){
                        					if(mes=="1"){
                        						messageBox("密码正确");
                        						flag = true;
                        					}
                        					if(mes=="0"){
                        						messageBox("密码错误!");
                        						flag=false;
                        					}
                        				}
                        			})
                        			return flag;
                        		}
	                        	
	                        	//验证手机号
	                        	function checkTele(){
	                        		var tele = $("#inputPhone").val();
	                        		var reg = /^1[3|4|5|7|8][0-9]{9}$/;
	                        		var flag;
	                        		if(reg.test(tele)){
	                        			messageBox("填写正确");
	                        			flag = true;
	                        		}else{
	                        			messageBox("手机号不正确");
	                        			flag = false;
	                        		}
	                        		return flag;
	                        	}
	                        	function check(){
	                        		var flag = test()&&checkTele();
	                        		return flag;
	                        	}
                        	</script>
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">手机号码：</div>
                            <div class="my_info_nr fl"><span id="oldmobile"><%=loginUser.getContactNumber() %></span><code id="phone_change">修改</code></div>
                        </ul>
                        <div class="my_info_bg" id="my_phone_tk1" style="height: 450px; display: none;">
                            <h3>
                                <code class="iconfont phone_icon"></code>修改手机号码
                            </h3>
                            <div class="my_info_table">
                                <div class="my_info_tablefix h50">
                                    <ul>
                                        <div class="my_info_txt fl">原手机号码 </div>
                                        <div class="my_info_data fl"><%=loginUser.getContactNumber() %></div>
                                        <div class="my_info_warn fl">
                                            验证码将发送到此手机号码,请注意查收<a href="javascript:;" onclick="location.href=&#39;https://onlineservice.bthhotels.com/AliTalk/Talk?scene=SCE00000797&amp;type=wap&amp;source=pc&#39;">手机不可用？</a>
                                        </div>
                                    </ul>
                                </div>
                                <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">登录密码</div>
                                        <div class="my_info_data fl">
                                            <div class="my_info_data_N">
                                                <input class="redon" id="inputPwd2" value="" type="password" name="inputPwd2">
                                                <span class="my_info_warn info-error " style="color:#C0191F;line-height:32px;font-size:13px;">登录密码输入错误</span>
                                            </div>

                                        </div>

                                    </ul>
                                    <p class="my_wrong_tip" style="color:#979797">为了确保您账户的信息安全请先输入会员登录密码</p>
                                </div>


                                <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">新手机号码</div>
                                        <div class="my_info_data fl">
                                            <div class="my_input_data">
                                            <form id="myForm1" method="post" action="<%=path%>/UserinfoServlet?action=changeTelephone">
                                            	<input id="inputPhone" value="" name="inputPhone">
                                            	<span class="my_info_warn info-error" style="color:#C0191F;line-height:32px;font-size:13px;">手机号码格式错误</span>
                                            </div>
                                        </div>
                                    </ul>

                                </div>
                                <!-- <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">手机验证码</div>
                                        <div class="my_info_data fl">
                                            <div class="my_input_data">
                                                <input value="" name="inputCode">
                                                <span class="my_info_yzm">
                                                    <input type="button" class="information_phone" value="点击获取验证码">
                                                </span>
                                                <span class="my_info_warn info-error" style="color:#C0191F;line-height:32px;font-size:13px;">验证码输入错误</span>
                                            </div>
                                        </div>
                                        
                                        <div class="yz_number" style="display:none;"><code class="red">59</code>秒后重新发送</div>
                                        <div class="my_send_yzm">
                                            <input value="验证码已发送">
                                        </div>
                                    </ul>
                                </div> -->
                               <!--  <ul>
                                    <li class="my_email_tip">提示：如获取验证码无法成功，请联系首旅如家客服<span>4008203333</span></li>
                                </ul> -->
                                <div class="my_info_button">
                                    <!-- <a class="my_info_buttonL" id="updPhonebtn">确定</a> -->
                                    <input type="submit" value="确定" id="updPhonebtn1">
                                    <a class="my_info_buttonR">取消</a>
                                </div>
                                </form>
                            </div>
                        </div>

                        <div class="my_info_bg" id="my_phone_failtk" style="display: none;">
                            <h4>
                                <code class="iconfont"></code>修改手机号码
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont fail_icon"></code></p>
                                <p class="my_info_failtxt">手机号码修改失败</p>
                                <div class="my_info_button"><a class="my_info_buttonL">重新修改</a><a class="my_info_buttonR">取消</a></div>
                            </div>
                        </div>
                        <div class="my_info_bg" id="my_phone_successtk" style="display: none;">
                            <h4>
                                <code class="iconfont success_icon"></code>修改手机号码
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont success_icon"></code></p>
                                <p class="my_info_failtxt">手机号码已修改成功</p>
                                <div class="my_info_button"><a class="my_info_buttonR" style="border: 1px solid #C0191F;    background: #C0191F;    color: #fff;">关闭</a></div>
                            </div>
                        </div>
                       <!--  <ul class="my_info_fix fix">
                            <div class="my_info_name fl">电子邮箱：</div>
                            <div class="my_info_nr fl"><span id="old_Email">34*****80@qq.com</span><code id="email_change">修改</code></div>
                        </ul> -->
                        <div class="popup" style="height: 1261px; display: none;"></div>
                        <div class="my_info_bg" id="my_info_tk1" style="height: 490px; display: none;">
                            <h4>
                                <code class="iconfont"></code>修改电子邮箱
                            </h4>
                            <div class="my_info_table">
                                <div class="my_info_tablefix h50">
                                    <ul>
                                        <div class="my_info_txt fl">原电子邮箱</div>
                                        <div class="my_info_data fl">34*****80@qq.com</div>
                                        <div class="my_info_warn fl">
                                            验证码将发送到此邮箱，请注意查收
                                            <a href="https://www.bthhotels.com/Member/%E4%BC%9A%E5%91%98%E4%BF%A1%E6%81%AF%E4%BF%AE%E6%94%B9.html">邮箱不可用？ </a>
                                        </div>
                                    </ul>
                                </div>
                                <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">登录密码</div>
                                        <div class="my_info_data fl">
                                            <div class="my_info_data_N">
                                                <input class="redon" value="" name="inputPwd" type="password">
                                                <span class="my_info_warn info-error loginPassword" style="color:#C0191F;line-height:32px;font-size:13px;">登录密码输入错误</span>
                                            </div>
                                        </div>
                                    </ul>
                                    <p class="my_wrong_tip" style="color:#979797">为了确保您账户的信息安全请先输入会员登录密码</p>
                                </div>
                                <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">新电子邮箱</div>
                                        <div class="my_info_data fl">
                                            <div class="my_input_data">
                                                <input value="" name="inputMail">
                                                <span class="my_info_warn info-error" style="color:#C0191F;line-height:32px;font-size:13px;">邮箱格式错误</span>
                                            </div>
                                        </div>

                                    </ul>

                                </div>
                                <div class="my_info_tablefix">
                                    <ul>
                                        <div class="my_info_txt fl">邮件验证码</div>
                                        <div class="my_info_data fl">
                                            <div class="my_input_data">
                                                <input value="" name="inputCode">
                                                
                                            </div>
                                        </div>
                                        <div class="my_info_yzm" id="SendemailCode">
                                            <input type="button" value="点击获取验证码" id="btn_emailCode">
                                            <span class="mail_code_erro" style="color:#C0191F;line-height:32px;font-size:13px;">邮箱验证码错误</span>

                                        </div>

                                        <div class="my_info_yzm" id="SendemailMsg" style="display:none;">
                                            <input value="邮箱验证码已发送">
                                        </div>
                                    </ul>

                                </div>
                                <!-- <ul>
                                    <li class="my_email_tip">提示：如获取验证码无法成功，请联系首旅如家客服<span>4008203333</span>修改</li>
                                </ul> -->
                                <div class="my_info_button">
                                    <a class="my_info_buttonL" id="btnmodifyEmail">确定</a>
                                    <a class="my_info_buttonR">取消</a>
                                </div>
                            </div>
                        </div>

                        <div class="my_info_bg" id="my_info_failtk" style="display: none;">
                            <h4>
                                <code class="iconfont"></code>修改电子邮箱
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont fail_icon"></code></p>
                                <p class="my_info_failtxt">电子邮箱修改失败</p>
                                <div class="my_info_button"><a class="my_info_buttonL">重新修改</a><a class="my_info_buttonR">取消</a></div>
                            </div>
                        </div>
                        <div class="my_info_bg" id="my_info_successtk" style="display: none;">
                            <h4>
                                <code class="iconfont success_icon"></code>修改电子邮箱
                            </h4>
                            <div class="my_info_table">
                                <p><code class="iconfont success_icon"></code></p>
                                <p class="my_info_failtxt">电子邮箱已修改成功</p>
                                <div class="my_info_button"><a class="my_info_buttonR" style="border: 1px solid #C0191F;    background: #C0191F;    color: #fff;">关闭</a></div>
                            </div>
                        </div>
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">性别：</div>
                            <div class="my_info_nr fl" id="sex_div">
                                男
                            </div>

                            <div class="my_info_nr fl" style="display:none" id="sex_divedit">
                                <ul class="my_info_sex">
                                    <li><code class="my_sexnan_icon"><i class="sexon" value="男"></i></code>男</li>
                                    <li><code class="my_sexnv_icon"><i class="" value="女"></i></code>女</li>
                                </ul>
                            </div>
                        </ul>
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">生日：</div>
                            <div class="my_info_nr fl">
                                <span id="oldcardNo"><%=sdf.format(loginUser.getBirthDate()) %></span>
                                    
                                <input type="hidden" name="newcartType" value="JY">
                            </div>
                        </ul>
                        <script type="text/javascript">
                        	
                        </script>
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">更换头像：</div>
                            <div class="my_info_nr fl">
                              	<div class="layui-upload">
	               				<form id="myform1" method="post" enctype="multipart/form-data" action="<%=path%>/UserinfoServlet?action=changeFaceImage">
	               					<input id="test1" type="file" name="faceImage">
	               					<code><input id="sub" type="submit" value="修改"></code>
	               				</form>
               					<%
			               		String mes = (String)request.getParameter("mes");
			               		if("3".equals(mes)){
			               		%>
			               			<!-- <script type="text/javascript">
			               				messageBox("头像修改成功");
									</script> -->
									<p class="change" style="color:green;">头像修改成功</p>
			               		<%
			               		}
				               	%>
						    	</div>
                            </div>
                        </ul>
                        
                        <!-- <ul class="my_info_fix fix">
                            <div class="my_info_name fl">联系地址：</div>
                            <div class="my_info_nr fl" id="address_div">
                                
                            </div>

                            <div class="my_info_nr fl" style="display:none" id="address_divedit">
                                <div class="my_info_input">
                                    <input class="redon" value="" id="input_address">
                                    <div class="my_info_tip info-error" id="editaddressmsg" style="display:none">联系地址不允许为空</div>
                                </div>
                            </div>


                        </ul>
                        <ul class="my_info_fix fix">
                            <div class="my_info_name fl">邮编：</div>
                            <div class="my_info_nr fl" id="postcode_div">
                                
                            </div>

                            <div class="my_info_nr fl" style="display:none" id="postcode_divedit">
                                <div class="my_info_input">
                                    <input class="redon" value="" id="input_postcode">
                                    <div class="my_info_tip info-error" id="postcodemsg" style="display:none">邮编格式不正确</div>
                                </div>
                            </div>

                        </ul> -->
                        <!-- <div class="my_info_edit"><a>编辑</a></div> -->
                        <div class="my_info_edit" style="display:none" id="btnsaveInfo"><a>保存</a></div>
                    </div>
                </div>

            </div>



        </div>
    </div>
</div>



<div class="main_wap">

</div>
<script type="text/javascript" src="./我的信息_files/jquery.mobile-events.min.js.下载"></script>
<script type="text/javascript" src="./我的信息_files/list_wrap.js.下载"></script>
<script src="./我的信息_files/myhome.js.下载"></script>



        <!-- <div class="footer">
    <div class="main_w1200 fix">
        <div class="footerL">
            <dl>
                <dt>酒店预订</dt>
                <dd><a href="https://www.bthhotels.com/map/">地图预订</a></dd>
                
                <dd><a href="https://www.bthhotels.com/home/enterprise">企业客户申请</a></dd>
                <dd><a href="https://www.bthhotels.com/sitemap">目录预订</a></dd>
            </dl>
            <dl>
                <dt>家宾会</dt>
                <dd><a href="https://www.bthhotels.com/Member/MemberManual">会员手册</a></dd>
                <dd><a href="https://www.bthhotels.com/Member/MemberNotice">会员公告</a></dd>
                <dd><a href="https://shop.bthhotels.com/">积分商城</a></dd>
            </dl>
            <dl>
                <dt>加盟合作</dt>
                
                <dd><a href="https://www.bthhotels.com/join/HEBarnd">加盟高端酒店品牌</a></dd>
                <dd><a href="https://www.bthhotels.com/join/allBarnd">加盟中高端品牌</a></dd>
                <dd><a href="https://www.bthhotels.com/join/homeinn">加盟经济型商旅品牌</a></dd>
                <dd><a href="https://www.bthhotels.com/join/leisure">加盟亲子、休闲品牌</a></dd>
                <dd><a href="https://www.bthhotels.com/join/yunjd">加盟软品牌云酒店</a></dd>
                <dd><a href="https://www.bthhotels.com/join/ytel_investment">招商会行程</a></dd>
                
                


            </dl>
            <dl>
                <dt>首旅如家酒店集团</dt>
                <dd><a href="https://www.bthhotels.com/culture">企业文化</a></dd>
                <dd><a href="https://www.bthhotels.com/Event">大事记</a></dd>
                <dd><a href="https://www.bthhotels.com/About">品牌介绍</a></dd>
                <dd><a href="https://www.bthhotels.com/News">集团快讯</a></dd>
                <dd><a href="https://ir.bthhotels.com/index" target="_blank">投资者关系</a></dd>
                
                <dd><a href="https://www.bthhotels.com/Contact">联系我们</a></dd>
                <dd><a href="https://www.bthhotels.com/Recruit">招贤纳士</a></dd>
                <dd><a href="http://caigou.bthhotels.com/" target="_blank">工程招标</a></dd>
            </dl>
        </div>
        <div class="footerR">
            <ul>
                
                <li>
                    <div class="footerR_l">
                        <img src="./我的信息_files/APPQRCode_new.png" width="135">
                        <p>下载APP尊享超值礼包</p>
                    </div>
                    <div class="footerR_r">
                        <img src="./我的信息_files/Public_signal.png" width="135">
                        <p>关注微信公众号领取好礼</p>
                    </div>
                </li>
                <li class="footerR_aboutus">
                    <p>酒店预订电话</p>
                    <p><span>400 820 3333  或  1010 3333</span></p>
                    <p style="font-size:14px; color:#535353; margin-top:-1px;">服务时间为7点-24点</p>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="footer_tip">
    <div class="main_w1200">
        <div class="footer_tipL">
            © 2016 Homeinns Co.,Ltd All Rights Reserved.和美酒店管理（上海）有限公司
            <div class="footer_tipCc fl" style="display:inline-block">
                <img src="./我的信息_files/record_iconl.png">沪ICP备15017896号-8号
            </div>
            <div class="footer_tipC fl" style="display:inline-block">
                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010402005755"><img src="./我的信息_files/record_icon.png">沪公网安备31010402005755号</a>
            </div>
            
        </div>
        <div class="footer_tipR">
            <dl class="anti_spoofing_box">
                <dt class="anti_spoofing"><i></i></dt>
                <dd class="anti_spoofing_text">
                    亲爱的市民朋友，上海警方反诈劝阻电话“962110”系专门针对避免您财产被骗受损而设，请您一旦收到来电，立即接听。
                </dd>
            </dl>
            <a href="http://scjgj.sh.gov.cn/lz/licenseLink.do?method=licenceView&amp;entyId=20200407155616516">
                <dl>
                    <dt class="gs_icon"><i></i></dt>
                    <dd class="gs_name" style="color:#979797">上海工商</dd>
                </dl>
            </a>
                <dl>
                    <dt class="wj_icon"><i></i></dt>
                    <dd>上海网警<br>网络110</dd>
                </dl>
                <dl>
                    <dt class="wl_icon"><i></i></dt>
                    <dd>网络社会<br>征信网</dd>
                </dl>
                
                <a href="https://images.bthhotels.com/pci-secspace/PCIAttestation-secspace-PCI-DSS.jpg">
                    <dl>
                        <dt class="yq_icon"><i></i></dt>
                    </dl>
                </a>
</div>
        <div class="clear"></div>
    </div>
</div> -->

    </div>

    

    
    <script src="./我的信息_files/z_stat.php" language="JavaScript"></script><script src="./我的信息_files/core.php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=1273851934" target="_blank" title="站长统计">站长统计</a>
    <script>
        var _czc = _czc || [];
        _czc.push(["_setAccount", "1273851934"]);
    </script>

<style>
    a[title="站长统计"] {
        display: none;
    }
</style>
<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
            (i[r].q = i[r].q || []).push(arguments)
        }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
    })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
    ga('create', 'UA-96352022-1', 'auto');
    ga('send', 'pageview');
</script>

<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?09d8fcf5871ad7520e41c8d122f90df5";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>




<div id="h5Main">
    
</div>
</body>
</html>